package com.masterclient.app.modules.search.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.search.beans.SearchAssociateBean;

import java.util.List;

import io.reactivex.disposables.Disposable;

/**
 * 作者：sean
 * 创建时间：2017/6/23 10:29
 * 功能说明：
 */

public interface SearchAssociateContract {

    interface View extends BaseView {

        public void loadFailed(String msg);

        public void showSearchAssociate(String keyword,List<SearchAssociateBean> beans);
    }

    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }


        public abstract Disposable searchAssociate(String keyword);
    }
}